SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '063451c92443e5fe675e0c3c212e8ba5496f9011cd275052e28dd96e5a3ca516' 
  AND token = '7HlofQ0ubpohc1uZeUzI/TomHz64OGj6Rt4V9icsvNs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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