SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24dad4af0b6cff6980a395f49c4bb5216dda48fe2eb8ff98793025ff8fb90ab9' 
  AND token = 'cwVVkBSJwNQRlWeTaYBx/kVsTLMPoQqcF5x3tzEBT5c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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