SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4cc603333c9214a7fc7cb2da685f066e61fea19e742347f0f3e43f016a5afde5' 
  AND token = 'kPUDmV4fyy2K/ETFqdckbsR6Fh0QyPbDT74weG57jV0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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