SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd884a04afab120c801eacfb84642b4166e81b69ce5aaf1c0c6b67bf33524019' 
  AND token = 'dwZO2rQBHFulJT01JKAxtbpfQ4IISVFRru3TbkYHl6Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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