SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c30849ee261b719108c5f082b5ac3d7fb3d42e1e03100df45da5c84fb89158b1' 
  AND token = 'lPS1ana+NsYPd5TWGWUTGOxvU5HGWCHaqIQe/huO2xc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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