SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '295e7a6c1c0851abc83463ec97e847754ae85663f8766abfbb220f1a83414cf1' 
  AND token = 'l3GxtCNLN7j0a1BY08q6lkslcpyjKtLvSPuAdt28zcM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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