SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79df8b3819eaaa8806b9608310640c51e5961779718e42fc0d2fbcfcf5e299b4' 
  AND token = 'l1lPo5B05ZyryX3UZ8TWNI9Q4OWGQvXCwZ0hCfhZBLs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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