SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a17becc0173a9206177ef1d947b2c11a6abc8ab2a7228ece9e7cfc4841d5c9ae' 
  AND token = '0Urmxj3DIz0Gmd8o3ie9Reys/vV/wZIvOx8Mt8WJ7xw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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