SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21fa38e8baa80923065ab6eaeb0080d26666f199986a38c69aee41c3543313f0' 
  AND token = 'vjXkX0y0oqjI3ElchQP4TqID0gmwsUmS4hSvfQKyP4I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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