SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac628a23f3349db1927f19d27e192f7ec4edcde2c145df80444688ca2ee60628' 
  AND token = 'QpppMDgSircnSp4qPQ4KRiW2eKESPR5yjACei06dqVQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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