SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c22f4b118848261eff90669f34421d5af5199611874935d0ebae896784f5448c' 
  AND token = '1tOnCdftpSuvKdCoqJEX/K581FR0PiOT374wNgAlb3w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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