SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '865cb61136f6593f3f695aeb851a5c03a6b97c885c4c98cbd6651fc7ee42b989' 
  AND token = 'wAtHXosZptcSSf/MvbjyherFXmE/OCsYrBxHknp+7tI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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