SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4b7f116fa8943c96e5e94f71268fcd4bf10fe3fb27f6a7010e4bc691f00509e' 
  AND token = 'gMvHtRMM409eF665RK/6n5CCA59X5k6BRWOv5uIoNzI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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