SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '08f9f62ac172a98b58468561bb5f1584972d0ab5636b3f6eb334c147a3df638a' 
  AND token = 'W8GfyTj3zskLhLlhL3HAl/rragTWlEZFnM/12tXWLQg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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