SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '030bc9e06cf060028bf238bce2b39251ecbc387e436d9456cc7729e768157cb9' 
  AND token = 'ZU0rOZv2qXCRRYCAp7RpbnNK2zwt/cJPJvu9Vh9bZQo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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