SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fffd5ca8b2b761edc2322b2de76381409ad4d2d2a0c7b6e87e9d4182b2730cbe' 
  AND token = '5wlnKJCmteK13j2Vtg/rLjPMttbB1eZblbn3cMocAqY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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