SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '259faea3552e1bc9b920c14f59f8cfc678a2431a6e28c8c6002b638d71166b6e' 
  AND token = 'iI8abWDvVjtfI/BGv1d1AIcwPbN7D1CmHkODARVLOnw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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