SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51ca026e391340c3dc500e9daa5727a7dfffb9f7decd376a94bed7cc716948f0' 
  AND token = 'w2MBiS4+GiNMt25S8lHCp/cc253s8+x4liwMYzz5pTY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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