SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4f536cf64526bbfee53c0e9f26251b8016dea4faa411ca6ac41a95fc767569f' 
  AND token = '0BB0UX5qKr6fTj99SvsIXO0n1Z9QewTxpRlcaRIYBVQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}