SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d7bb30907fae4397b1180370d7210c8e49a8b9d95ddba357f7bcaf5bdc5ce8f' 
  AND token = 'BPyVVo1AIc2j3ebt1j2m2og5AFlUTtSHrHb4qoGnhQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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