SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ca49317a412408a5c002664e4dee7b32fe9543342ca8a29bfe9f51c06d8143c' 
  AND token = 'iIw+imSJU2ukfwV50GdGwUIKOaaJS5qMrf6uv/S1m5U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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