SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '97d306c97fa8a7cca87e78406d655a711bef167d7fc6e5c52726edd9439e2830' 
  AND token = 'HwGa6nvABI2mFDdBRbA/l8W6Yjl5ETw9KenXMNcEoLg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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