SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4baf4eb0c552bb46b3a61136fd46e78c6ac552da54c5d31dabe9e949d01ce2db' 
  AND token = 'dnFkG9l/Uy5yNZ2XkoGDhQ4YY0pkNvnzk8NfSeBkEYo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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