SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db081d6357711824c8be0d15fed3b454794f237345793241f8e99248d3f81a34' 
  AND token = 'W6sFCX08OlXhLOKCpQ5cfMzstybJ86Abnh6p+jrCRY0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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