SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f827506399066f173d013f2341c5c4fc2a102df62c2b766e5cb5dd0cdb8b9432' 
  AND token = 'qPSqvNByAxMnUny3TpRXIzvtumO8ow3vFr+vH1wmDMI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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