SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e1560363b6be9e2c80dddc2936368620dec1e1170de6f17393f2a4ea873c404' 
  AND token = 'KX9hY370q7yhbUnMkt9P/hy0eoP+4b42UaogxkOFgww=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00131

JSON explain

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