SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9fb51e8e647f817e4feb3745d2891fa78dcdbdeb51666e512cedf7f64decd09' 
  AND token = 'Gm5YRk4yIWY4e9g+UKYajH/57Yq1B5bccoD2Wi3ptp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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