SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a5f057d21026ba4bb70978f8c156c908bedef9f1e03222924a42ff297acb9e6' 
  AND token = 'Ra2BTWFrMrO017wgD+g0L4ALbQ+O+KOqZZ0e/D1guEM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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