SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c84cfdd96565aafafbeeb5277751c619a755aead0b0847402ba57729700aafb' 
  AND token = 'XwUFDOJSnxDCGeF2+uQ8Nb+YkVhR8msain65RpurroI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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