SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '510cde11f940b63fd9fd21aa0ab5f121845292074925007413b73ff340b1c509' 
  AND token = 'k0EeSBRpirCY8BB01IY2c5liY7aHF+gHX5h2Fx0SzYo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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