SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d402a0c323ce225ae3fd6913a23ae36a99b93b96451092c3be7aac0cc92f661' 
  AND token = 'S6gtQ9tNb7lvXsQ+YbtZTuQSB54TNZYR0mLuOXqv6VA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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