SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '012571697df614008b65829ad6cf1cdf09e43bf156861479b5aa6c66cce6e3d7' 
  AND token = 'eWMgWFJmO5OUNZA644N8SD5Sua/RwEJWWc7Veuu3lF0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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